﻿#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
void cfb(int t)
{
	int i = 0, j = 0;
	for (i = 1;i <= t; i++)
	{
		for (j = 1; j <= i; j++)
		{
			printf("%d*%d=%d  ", j, i, j * i);
		}
		printf("\n");
	}
}
int main()
{
	int t = 0;
	printf("请输入乘法表的最大乘数：");
	scanf("%d", &t);
	cfb(t);
	return 0;
}